package com.lu.constants;

/**
 * @program Elasticsearch
 * @description: es 文档字段
 * @author: zhanglu
 * @create: 2020-04-30 09:12:00
 */
public class EsConstant {

    //索引
    public final static String INDEX = "_index";
    //类型
    public final static String TYPE = "_type";
    //文档
    public final static String DOC = "doc";
    //id
    public final static String ID = "_id";
    //版本号，乐观锁
    public final static String VERSION = "_version";
    //是否创建
    public final static String CREATE = "created";


}
